package oo;

import java.util.Arrays;

public class Person {
	private String name;
	private int idNumber;
	private int age;
	public Phone phone;
	public Dog[] dog;

	public Person(String name, int idNumber, int age) {
		super();
		this.name = name;
		this.idNumber = idNumber;
		this.age = age;
	}
	
	public Person() {
		super();
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getIdNumber() {
		return idNumber;
	}

	public void setIdNumber(int idNumber) {
		this.idNumber = idNumber;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	@Override
	public String toString() {
		return "Person [name=" + name + ", idNumber=" + idNumber + ", age=" + age + ", phone=" + phone + ", dog="
				+ Arrays.toString(dog) + "]";
	}
}
